package io.github.talelin.latticy.mapper.K;

import io.github.talelin.latticy.model.K.BExceptionDO;
import io.github.talelin.latticy.model.K.BExceptionDetailDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 状态：0、未确认；1、已确认 Mapper 接口
 * </p>
 *
 * @author generator@TaleLin
 * @since 2021-06-08
 */
public interface BExceptionMapper extends BaseMapper<BExceptionDO> {
    
    List<BExceptionDO> selectByNameLikeKeyword(@Param("q") String q);

    BExceptionDetailDO getDetail(Long id);

    List<BExceptionDetailDO> getBException();

    void AllConfirmed();

    BExceptionDO confirm(Integer id);
}
